package cn.com.ycm.factorymethod;


import cn.com.ycm.entity.Sedan;
import cn.com.ycm.entity.VehicleCar;

public class SedanFactory implements IcarFactory {
    @Override
    public VehicleCar toCreate() {
        return new Sedan();
    }
}
